import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {PortalsComponent} from "./portals.component";
import {PortalAddComponent} from "./portal-add/portal-add.component";
import {PortalUpdateComponent} from "./portal-update/portal-update.component";

const routes: Routes = [
  {
    path :"",
    component :PortalsComponent
  },
  {
    path:"add",
    component : PortalAddComponent
  },
  {
    path:"update",
    component : PortalUpdateComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class PortalsRoutingModule { }
